package com.lyc.mall.dao;

import com.lyc.mall.model.PO.Admin;
import com.lyc.mall.model.VO.AdminInfoVO;

import java.util.List;

public interface AdminDao {
    int queryCount(Admin admin);

    List<AdminInfoVO> queryAll(Admin admin);

    void insertOne(Admin admin);

    /**
     * 根据主键值查询管理员详情
     * @param adminID
     * @return
     */
    AdminInfoVO queryOne(int adminID);
}
